package com.ruoyi.performancesys.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.employeeInfomation.domain.SalaryEmployee;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 绩效管理对象 salary_performance
 *
 * @author ruoyi
 * @date 2024-08-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(resultMap = "com.ruoyi.performancesys.mapper.SalaryPerformanceMapper.SalaryPerformanceResult")
public class SalaryPerformance extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** id */
        @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 员工表_id */
    private Long employeeId;

    /** 签订月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "签订月")
    private String signingMonth;

    /** 签订时间（年月日时分秒） */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
            @Excel(name = "签订时间", readConverterExp = "年=月日时分秒")
    private Date dateOfSigning;

    /** 合同单号（随机生成16为） */
            @Excel(name = "合同单号", readConverterExp = "随=机生成16为")
    private String contractTicketNumber;

    /** 项目名称 */
            @Excel(name = "项目名称")
    private String projectName;

    /** 项目金额 */
            @Excel(name = "项目金额")
    private String projectAmount;

            private SalaryEmployee salaryEmployee;








@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeId", getEmployeeId())
            .append("signingMonth", getSigningMonth())
            .append("dateOfSigning", getDateOfSigning())
            .append("contractTicketNumber", getContractTicketNumber())
            .append("projectName", getProjectName())
            .append("projectAmount", getProjectAmount())
        .toString();
        }
        }